package hibernate.service.impl;

import hibernate.dao.BaseDao;
import hibernate.model.DemoA;
import hibernate.service.DemoAService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: tianwei.zhou
 * Date: 15-4-28
 * Time: 下午9:41
 * To change this template use File | Settings | File Templates.
 */
@Service("demoAService")
public class DemoAServiceImpl extends BaseServiceImpl<DemoA,Long> implements DemoAService {
    @Resource(name = "demoADao")
    @Override
    public void setDao(BaseDao<DemoA, Long> dao) {
        super.dao = dao;
    }
}
